<?php
/**
 * Created by PhpStorm.
 * User: THINK
 * Date: 2017/8/25
 * Time: 15:20
 */

namespace Admin\Controller;
use Think\Controller;

class PagesController extends Controller
{
    public function index(){
        $User = M('category');
        $list = $User->field('content')->where('id=10')->select();
        $this->assign('list',$list);
        $this->display();
    }

}